import { ref } from 'vue'
import request from '@/utils/request.js'
//查询课程详情
export const selectCourseDetail=(courseId)=>{
    return request.get('/course/getCourse/'+courseId)
}
//根据课程编号查询方向名称
export const getDirectionNameByCourseId=(courseId)=>{
    return request.get('/course/list/'+courseId)
}